Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.ecm.user.registration.layouts.contrib--widgets

This contribution is part of XML component org.nuxeo.ecm.user.registration.layouts.contrib inside nuxeo-platform-user-registration-web-5.8.jar

Extension Point

Extension point widgets of component WebLayoutManager.

Contributed Items

  • <widget name="request_config_allowUserCreation" type="checkbox">
          <labels>
            <label mode="any">label.registration.config.allowUserCreation</label>
          </labels>
          <helpLabels>
            <label mode="edit">label.registration.config.help.allowUserCreation</label>
          </helpLabels>
          <translated>true</translated>
          <fields>
            <field>registrationconfiguration:allowUserCreation</field>
          </fields>
        </widget>
  • <widget name="request_config_allowDirectValidationForExistingUser" type="checkbox">
          <labels>
            <label mode="any">label.registration.config.allowDirectValidationForExistingUser</label>
          </labels>
          <helpLabels>
            <label mode="edit">label.registration.config.help.allowDirectValidationForExistingUser</label>
          </helpLabels>
          <translated>true</translated>
          <fields>
            <field>registrationconfiguration:allowDirectValidationForExistingUser</field>
          </fields>
        </widget>
  • <widget name="request_config_forceRight" type="checkbox">
          <labels>
            <label mode="any">label.registration.config.forceRightAssignment</label>
          </labels>
          <helpLabels>
            <label mode="edit">label.registration.config.help.forceRightAssignment</label>
          </helpLabels>
          <translated>true</translated>
          <fields>
            <field>registrationconfiguration:forceRightAssignment</field>
          </fields>
        </widget>
  • <widget name="request_config_displayLocalRegistration" type="checkbox">
          <labels>
            <label mode="any">label.registration.config.displayLocalRegistrationTab</label>
          </labels>
          <helpLabels>
            <label mode="edit">label.registration.config.help.displayLocalRegistrationTab</label>
          </helpLabels>
          <translated>true</translated>
          <fields>
            <field>registrationconfiguration:displayLocalRegistrationTab</field>
          </fields>
        </widget>
  • <widget name="user_request_login" type="text">
          <labels>
            <label mode="any">label.userinfo.login</label>
          </labels>
          <fields>
            <field>data.userinfo.login</field>
          </fields>
          <properties widgetMode="edit">
            <property name="required">true</property>
            <property name="styleClass">dataInputText</property>
          </properties>
        </widget>
  • <widget name="user_request_firstName" type="text">
          <labels>
            <label mode="any">label.userinfo.firstName</label>
          </labels>
          <fields>
            <field>data.userinfo.firstName</field>
          </fields>
          <properties widgetMode="edit">
            <property name="styleClass">dataInputText</property>
          </properties>
        </widget>
  • <widget name="user_request_lastName" type="text">
          <labels>
            <label mode="any">label.userinfo.lastName</label>
          </labels>
          <fields>
            <field>data.userinfo.lastName</field>
          </fields>
          <properties widgetMode="edit">
            <property name="styleClass">dataInputText</property>
          </properties>
        </widget>
  • <widget name="user_request_email" type="text">
          <labels>
            <label mode="any">label.userinfo.email</label>
          </labels>
          <fields>
            <field>data.userinfo.email</field>
          </fields>
          <properties widgetMode="edit">
            <property name="required">true</property>
            <property name="styleClass">dataInputText</property>
          </properties>
        </widget>
  • <widget name="doc_request_permission" type="template">
          <labels>
            <label mode="any">label.docinfo.permission</label>
          </labels>
          <fields>
            <field>data.docinfo.permission</field>
          </fields>
          <properties widgetMode="edit">
            <property name="required">true</property>
          </properties>
          <properties widgetMode="any">
            <property name="template">/widgets/user_request_rights_widget_template.xhtml</property>
          </properties>
        </widget>
  • <widget name="multiple_request_emails" type="textarea">
          <labels>
            <label mode="any">label.request.multiple.emails</label>
          </labels>
          <helpLabels>
            <label mode="edit">label.request.help.multiple.emails</label>
          </helpLabels>
          <fields>
            <field>data.multipleEmails</field>
          </fields>
          <properties widgetMode="edit">
            <property name="styleClass">dataInputText</property>
            <property name="required">true</property>
          </properties>
        </widget>
  • <widget name="user_request_copy_owner" type="checkbox">
          <labels>
            <label mode="any">label.request.copyOwner</label>
          </labels>
          <fields>
            <field>data.copyOwner</field>
          </fields>
          <properties widgetMode="edit">
            <property name="styleClass">dataInputText</property>
          </properties>
        </widget>
  • <widget name="user_request_comment" type="textarea">
          <labels>
            <label mode="any">label.request.comment</label>
          </labels>
          <helpLabels>
            <label mode="edit">label.request.help.comment</label>
          </helpLabels>
          <fields>
            <field>data.comment</field>
          </fields>
          <properties widgetMode="edit">
            <property name="styleClass">dataInputText</property>
          </properties>
        </widget>
  • <widget name="user_request_accept" type="template">
          <labels>
            <label mode="any">command.userrequest.accept</label>
          </labels>
          <widgetModes>
            <mode value="any">#{currentUser.isAdministrator() ? 'edit' : 'hidden'}</mode>
          </widgetModes>
          <fields>
            <field>data</field>
          </fields>
          <properties mode="any">
            <property name="template">/widgets/user_request_accept_widget_template.xhtml</property>
          </properties>
        </widget>
  • <widget name="user_request_reject" type="template">
          <labels>
            <label mode="any">command.userrequest.reject</label>
          </labels>
          <widgetModes>
            <mode value="any">#{currentUser.isAdministrator() ? 'edit' : 'hidden'}</mode>
          </widgetModes>
          <fields>
            <field>data</field>
          </fields>
          <properties mode="any">
            <property name="template">/widgets/user_request_reject_widget_template.xhtml</property>
          </properties>
        </widget>

XML Source

<extension point="widgets" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <widget name="request_config_allowUserCreation" type="checkbox">
      <labels>
        <label mode="any">label.registration.config.allowUserCreation</label>
      </labels>
      <helpLabels>
        <label mode="edit">label.registration.config.help.allowUserCreation</label>
      </helpLabels>
      <translated>true</translated>
      <fields>
        <field>registrationconfiguration:allowUserCreation</field>
      </fields>
    </widget>

    <widget name="request_config_allowDirectValidationForExistingUser" type="checkbox">
      <labels>
        <label mode="any">label.registration.config.allowDirectValidationForExistingUser</label>
      </labels>
      <helpLabels>
        <label mode="edit">label.registration.config.help.allowDirectValidationForExistingUser</label>
      </helpLabels>
      <translated>true</translated>
      <fields>
        <field>registrationconfiguration:allowDirectValidationForExistingUser</field>
      </fields>
    </widget>

    <widget name="request_config_forceRight" type="checkbox">
      <labels>
        <label mode="any">label.registration.config.forceRightAssignment</label>
      </labels>
      <helpLabels>
        <label mode="edit">label.registration.config.help.forceRightAssignment</label>
      </helpLabels>
      <translated>true</translated>
      <fields>
        <field>registrationconfiguration:forceRightAssignment</field>
      </fields>
    </widget>

    <widget name="request_config_displayLocalRegistration" type="checkbox">
      <labels>
        <label mode="any">label.registration.config.displayLocalRegistrationTab</label>
      </labels>
      <helpLabels>
        <label mode="edit">label.registration.config.help.displayLocalRegistrationTab</label>
      </helpLabels>
      <translated>true</translated>
      <fields>
        <field>registrationconfiguration:displayLocalRegistrationTab</field>
      </fields>
    </widget>

    <widget name="user_request_login" type="text">
      <labels>
        <label mode="any">label.userinfo.login</label>
      </labels>
      <fields>
        <field>data.userinfo.login</field>
      </fields>
      <properties widgetMode="edit">
        <property name="required">true</property>
        <property name="styleClass">dataInputText</property>
      </properties>
    </widget>

    <widget name="user_request_firstName" type="text">
      <labels>
        <label mode="any">label.userinfo.firstName</label>
      </labels>
      <fields>
        <field>data.userinfo.firstName</field>
      </fields>
      <properties widgetMode="edit">
        <property name="styleClass">dataInputText</property>
      </properties>
    </widget>

    <widget name="user_request_lastName" type="text">
      <labels>
        <label mode="any">label.userinfo.lastName</label>
      </labels>
      <fields>
        <field>data.userinfo.lastName</field>
      </fields>
      <properties widgetMode="edit">
        <property name="styleClass">dataInputText</property>
      </properties>
    </widget>

    <widget name="user_request_email" type="text">
      <labels>
        <label mode="any">label.userinfo.email</label>
      </labels>
      <fields>
        <field>data.userinfo.email</field>
      </fields>
      <properties widgetMode="edit">
        <property name="required">true</property>
        <property name="styleClass">dataInputText</property>
      </properties>
    </widget>

    <widget name="doc_request_permission" type="template">
      <labels>
        <label mode="any">label.docinfo.permission</label>
      </labels>
      <fields>
        <field>data.docinfo.permission</field>
      </fields>
      <properties widgetMode="edit">
        <property name="required">true</property>
      </properties>
      <properties widgetMode="any">
        <property name="template">/widgets/user_request_rights_widget_template.xhtml</property>
      </properties>
    </widget>

    <widget name="multiple_request_emails" type="textarea">
      <labels>
        <label mode="any">label.request.multiple.emails</label>
      </labels>
      <helpLabels>
        <label mode="edit">label.request.help.multiple.emails</label>
      </helpLabels>
      <fields>
        <field>data.multipleEmails</field>
      </fields>
      <properties widgetMode="edit">
        <property name="styleClass">dataInputText</property>
        <property name="required">true</property>
      </properties>
    </widget>

    <widget name="user_request_copy_owner" type="checkbox">
      <labels>
        <label mode="any">label.request.copyOwner</label>
      </labels>
      <fields>
        <field>data.copyOwner</field>
      </fields>
      <properties widgetMode="edit">
        <property name="styleClass">dataInputText</property>
      </properties>
    </widget>

    <widget name="user_request_comment" type="textarea">
      <labels>
        <label mode="any">label.request.comment</label>
      </labels>
      <helpLabels>
        <label mode="edit">label.request.help.comment</label>
      </helpLabels>
      <fields>
        <field>data.comment</field>
      </fields>
      <properties widgetMode="edit">
        <property name="styleClass">dataInputText</property>
      </properties>
    </widget>

    <widget name="user_request_accept" type="template">
      <labels>
        <label mode="any">command.userrequest.accept</label>
      </labels>
      <widgetModes>
        <mode value="any">#{currentUser.isAdministrator() ? 'edit' : 'hidden'}</mode>
      </widgetModes>
      <fields>
        <field>data</field>
      </fields>
      <properties mode="any">
        <property name="template">/widgets/user_request_accept_widget_template.xhtml</property>
      </properties>
    </widget>

    <widget name="user_request_reject" type="template">
      <labels>
        <label mode="any">command.userrequest.reject</label>
      </labels>
      <widgetModes>
        <mode value="any">#{currentUser.isAdministrator() ? 'edit' : 'hidden'}</mode>
      </widgetModes>
      <fields>
        <field>data</field>
      </fields>
      <properties mode="any">
        <property name="template">/widgets/user_request_reject_widget_template.xhtml</property>
      </properties>
    </widget>

  </extension>